import { RouteRecordRaw} from "vue-router";

const Home: Array<RouteRecordRaw> = [
    {
        path: "/home",
        name: "home",
        component: () => import('@/pages/Home/index.vue'),
    },
    {
        path: "/broadcast",
        name: "broadcast",
        component: () => import('@/pages/broadcast/index.vue'),
    },
    {
        path: '/workLicense/:id?',
        name: "work-license",
        component: () => import('@/pages/workLicense/index.vue'),
    },
    {
        path: "/",
        redirect: "/home",
    },
]
export default Home;